<?php
class ArticleAction extends GlobalAction{
	
	public function detail(){
		$this->head();
		$where['id']=$_GET['id'];
		$dao = D('ArticleView');
//		$article = $dao->where($where)->relation(true)->find();
		$article = $dao->where($where)->find();
//		$article = $dao->find(53);
//		dump($article);
		$this->assign('data',$article);
		$this->display();
	
	}



}